[INFO] cloning repository https://github.com/sugarflowers/jsonobj
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sugarflowers/jsonobj" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsugarflowers%2Fjsonobj", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsugarflowers%2Fjsonobj'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9367676548b16f3ebe5d6a870c531460c731e2e2
[INFO] checking sugarflowers/jsonobj against 40527f3e444fde1deb361751bdef9b9e11d1b971+rustflags=--cfg crater_hack --force-warn invalid-c-variadic-arguments for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsugarflowers%2Fjsonobj" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sugarflowers/jsonobj
[INFO] finished tweaking git repo https://github.com/sugarflowers/jsonobj
[INFO] tweaked toml for git repo https://github.com/sugarflowers/jsonobj written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sugarflowers/jsonobj on toolchain 40527f3e444fde1deb361751bdef9b9e11d1b971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sugarflowers/jsonobj already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/sugarflowers/textreader.git`
[INFO] [stderr]     Updating git repository `https://github.com/sugarflowers/binaryfile.git`
[INFO] [stderr]     Updating git repository `https://github.com/sugarflowers/sjis.git`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] fb9e56da3f7b045b95a30412023541e5ae7abc1fc3e2a88423092974b3ba27cb
[INFO] running `Command { std: "docker" "start" "fb9e56da3f7b045b95a30412023541e5ae7abc1fc3e2a88423092974b3ba27cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fb9e56da3f7b045b95a30412023541e5ae7abc1fc3e2a88423092974b3ba27cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fb9e56da3f7b045b95a30412023541e5ae7abc1fc3e2a88423092974b3ba27cb" "/opt/rustwide/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fb9e56da3f7b045b95a30412023541e5ae7abc1fc3e2a88423092974b3ba27cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid --cfg crater_hack --force-warn invalid-c-variadic-arguments" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fb9e56da3f7b045b95a30412023541e5ae7abc1fc3e2a88423092974b3ba27cb" "/opt/rustwide/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.160
[INFO] [stderr]     Checking encoding_rs v0.8.32
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]     Checking binaryfile v0.1.0 (https://github.com/sugarflowers/binaryfile.git#c7d6f6b9)
[INFO] [stderr]     Checking sjis v0.1.0 (https://github.com/sugarflowers/sjis.git#81aab6ca)
[INFO] [stderr]     Checking textreader v0.1.0 (https://github.com/sugarflowers/textreader.git#41d7716a)
[INFO] [stderr]     Checking jsonobj v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]   --> src/lib.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let json_data = TextReader::open(path)?.read()?;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `std::string::String`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the nightly-only, unstable trait `Try` is not implemented for `std::string::String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn open(path: &str) -> Result<Self, Box<dyn Error>> {
[INFO] [stdout]    |     ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 19 |         let json_data = TextReader::open(path)?.read()?;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a method that returns `std::string::String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/lib.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let json_data = TextReader::open(path)?.read()?;
[INFO] [stdout]    |             ^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/lib.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let json_data = TextReader::open(path)?.read()?;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/lib.rs:19:55
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let json_data = TextReader::open(path)?.read()?;
[INFO] [stdout]    |                                                       ^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `ControlFlow`
[INFO] [stdout]   --> /rustc/40527f3e444fde1deb361751bdef9b9e11d1b971/library/core/src/ops/control_flow.rs:89:0
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jsonobj` (lib) due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]   --> src/lib.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let json_data = TextReader::open(path)?.read()?;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `std::string::String`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the nightly-only, unstable trait `Try` is not implemented for `std::string::String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jsonobj` (lib test) due to 5 previous errors
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn open(path: &str) -> Result<Self, Box<dyn Error>> {
[INFO] [stdout]    |     ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 19 |         let json_data = TextReader::open(path)?.read()?;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a method that returns `std::string::String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/lib.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let json_data = TextReader::open(path)?.read()?;
[INFO] [stdout]    |             ^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/lib.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let json_data = TextReader::open(path)?.read()?;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/lib.rs:19:55
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let json_data = TextReader::open(path)?.read()?;
[INFO] [stdout]    |                                                       ^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `ControlFlow`
[INFO] [stdout]   --> /rustc/40527f3e444fde1deb361751bdef9b9e11d1b971/library/core/src/ops/control_flow.rs:89:0
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "fb9e56da3f7b045b95a30412023541e5ae7abc1fc3e2a88423092974b3ba27cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb9e56da3f7b045b95a30412023541e5ae7abc1fc3e2a88423092974b3ba27cb", kill_on_drop: false }`
[INFO] [stdout] fb9e56da3f7b045b95a30412023541e5ae7abc1fc3e2a88423092974b3ba27cb
